package com.ys.service.business;

import com.ys.vo.R;

import java.util.List;
import java.util.Map;

public interface TpProductActiveService {
	
	R add(Map<String, Object> params);

	R deleteTpProductActive(Map<String, Object> params);

	R edit(Map<String, Object> params);

	//修改，同时修改相关库信息
	R editAndCorrelation(Map<String, Object> params)throws Exception;


	//参数验证
	String checkParams(Map<String, Object> params,Long menuId) throws Exception ;


	//去除多余参数，只保留有权限编辑的参数
	Map<String, Object> removeSurplusParams(Map<String, Object> params,Long menuId,boolean hasSonList) throws Exception ;


	//批量调整精品库的运营公司编码
	R updateVgsbmByList(List<String> codeList,String vgsbm);


	//商品复制
	R copyGoods(List<String> codeList) throws Exception ;

}
